all: 
	@echo "\tCompilando estruturas de dados abstractas"
	make linked-list.o
	make array-list.o
	make stack.o
	make queue.o

array-list.o : array-list.c array-list.h
	@echo "\t\tLista em Array"
	gcc -c array-list.c -g

linked-list.o : linked-list.h linked-list.c
	@echo "\t\tLista Ligada"
	gcc -c linked-list.c

stack.o : stack.c stack.h
	@echo "\t\tStack"
	gcc -c stack.c

queue.o : queue.c queue.h
	@echo "\t\tQueue"
	gcc -c queue.c

clean :
	rm -f linked-list.o
	rm -f stack.o
	rm -f queue.o
	rm -f array-list.o


test : test.c
	gcc test.c -o test array-list.o ../../io/logs/logSystem.o -g
